package org.jsola.hr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.dto.BaseDTO;

import java.util.List;
import javax.validation.Valid;

/**
 * 自定义模板字段
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "批量操作【自定义模板字段】的参数")
@Data
public class CustomTemplateFieldBatchDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;

    /**
     * 新增的自定义模板字段
     */
    @ApiModelProperty(notes = "新增的自定义模板字段")
    @Valid
    private List<CustomTemplateFieldAddDTO> customTemplateFieldAddDTOList;

    /**
     * 要修改的自定义模板字段
     */
    @ApiModelProperty(notes = "修改的自定义模板字段")
    @Valid
    private List<CustomTemplateFieldUpdateDTO> customTemplateFieldUpdateDTOList;

    /**
     * 要删除的自定义模板字段id
     */
    @ApiModelProperty(notes = "删除的自定义模板字段ID")
    private List<String> deleteCustomTemplateFieldIdList;

}

